package cn.edu.hyit.hjq.volunteems.backend.mapper;

import cn.edu.hyit.hjq.volunteems.backend.pojo.Skill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SkillMapper {
    Skill findByUserId(@Param("userId") Long userId);
    int insert(Skill skill);
    int deleteById(Integer skillId);
    int update(Skill skill);
    Skill selectById(Integer skillId);
    List<Skill> selectAll();
}
